<template>
    <div>
        <ImgDrawer :imgUrl="imgUrl"></ImgDrawer>
        <TextCont :title="profile.title" :cont="profile.synopsis"></TextCont>
        <TextCont :title="serviceFun.title" :cont="serviceFun.synopsis"></TextCont>
    </div>
</template>
<script>
import ImgDrawer from '@/components/aboutus/ImgDrawer'
import TextCont from '@/components/aboutus/TextCont'
export default {
    components:{
        ImgDrawer,
        TextCont
    },
    data(){
        return{
            imgUrl:'',
            profile:'',
            serviceFun:'',
        }
    },

    mounted () {
        this.apiProfile();
    },

    methods: {
        // 请求协会简介
        async apiProfile(){
            let {data} = await this.https.get(this.api.apiProfile);
            this.imgUrl = data.img;
            this.profile = data.profile;
            this.serviceFun = data.serviceFun;
        }
    }
}
</script>
<style lang="less" scoped>

</style>


